.class Lcom/brixd/niceapp/activity/AppVideoActivity$9;
.super Ljava/lang/Object;
.source "AppVideoActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/AppVideoActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/AppVideoActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/AppVideoActivity;

    .prologue
    .line 324
    iput-object p1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 7
    .param p1, "v"    # Landroid/view/View;

    .prologue
    const/4 v4, 0x1

    .line 327
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mCurrentPlayStatus:I
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$600(Lcom/brixd/niceapp/activity/AppVideoActivity;)I

    move-result v0

    if-ne v0, v4, :cond_3c

    .line 328
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1500(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/media/MediaPlayer;

    move-result-object v0

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->pause()V

    .line 329
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    const/4 v1, 0x2

    # invokes: Lcom/brixd/niceapp/activity/AppVideoActivity;->updatePlayStatus(I)V
    invoke-static {v0, v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1600(Lcom/brixd/niceapp/activity/AppVideoActivity;I)V

    .line 330
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mBtnPlayControl:Landroid/widget/ImageButton;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$100(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/widget/ImageButton;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/widget/ImageButton;->setImageLevel(I)V

    .line 331
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/AppVideoActivity;->mHandler:Landroid/os/Handler;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mRunnableHideControlToolBar:Ljava/lang/Runnable;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$800(Lcom/brixd/niceapp/activity/AppVideoActivity;)Ljava/lang/Runnable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 332
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/AppVideoActivity;->mHandler:Landroid/os/Handler;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mRunnableHidePlayControl:Ljava/lang/Runnable;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$900(Lcom/brixd/niceapp/activity/AppVideoActivity;)Ljava/lang/Runnable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 355
    :goto_3b
    return-void

    .line 334
    :cond_3c
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mBtnPlayControl:Landroid/widget/ImageButton;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$100(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/widget/ImageButton;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setImageLevel(I)V

    .line 335
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mIsControlToolBarShown:Z
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$400(Lcom/brixd/niceapp/activity/AppVideoActivity;)Z

    move-result v0

    if-eqz v0, :cond_5d

    .line 336
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # invokes: Lcom/brixd/niceapp/activity/AppVideoActivity;->hideControlToolBar()V
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$000(Lcom/brixd/niceapp/activity/AppVideoActivity;)V

    .line 337
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mBtnPlayControl:Landroid/widget/ImageButton;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$100(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/widget/ImageButton;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 340
    :cond_5d
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/AppVideoActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/brixd/niceapp/activity/AppVideoActivity$9$1;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/AppVideoActivity$9$1;-><init>(Lcom/brixd/niceapp/activity/AppVideoActivity$9;)V

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 352
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # getter for: Lcom/brixd/niceapp/activity/AppVideoActivity;->mMediaPlayer:Landroid/media/MediaPlayer;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1500(Lcom/brixd/niceapp/activity/AppVideoActivity;)Landroid/media/MediaPlayer;

    move-result-object v0

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->start()V

    .line 353
    iget-object v0, p0, Lcom/brixd/niceapp/activity/AppVideoActivity$9;->this$0:Lcom/brixd/niceapp/activity/AppVideoActivity;

    # invokes: Lcom/brixd/niceapp/activity/AppVideoActivity;->updatePlayStatus(I)V
    invoke-static {v0, v4}, Lcom/brixd/niceapp/activity/AppVideoActivity;->access$1600(Lcom/brixd/niceapp/activity/AppVideoActivity;I)V

    goto :goto_3b
.end method
